{% extends 'cesiplastprodBundle::layout.html.twig' %}
{% block head %}
{% endblock %}
{% block body %}

<div id="main-content">
    <div style="margin: 0px; position: absolute; width: 100%;" id="pannels"></div>
    <div id="whatisoweim">
        <h1>Plastprod</h1>
        <p>Projet Cesi 2013</p>
    </div>
    <div id="homepage-subscription-form">
       	{% render "cesiplastprodBundle:User:displaySubscribe" %}    
    </div>
    {# </div>
    <h1> Plastprod </h1>

    #}
    {# <div id="last-posts">
        Dernières actualités :
        <ul>
            
            <li><h4> Nom du jeu </h4> Debut de l'article + "...." + Nom de l'auteur</li>
        </ul>
    </div>

             #}
{#
    <div id="mcs_container">
        <div class="customScrollBox" style="display: none">
            <div class="container">
                <a style="display: none" href="javascript:void(0)" id="closePannelLink">Fermer le panneau</a>
                <div class="content">
                    
                    <div id="pannel-content">
                        

                    </div>
                </div>
            </div>
            <div class="dragger_container">
                <div class="dragger"></div>
            </div>
        </div>
    </div>
#}
    {% if game_id is defined %}
        <div id="map" class="map">
            <canvas width="4000" height="4000" id="draggable-map" class="map">

            </canvas>
        </div>

        <script src="{{ asset('bundles/cesiplastprod/js/Default/index.html.twig.js') }}"></script>
        
        <script src="{{ asset('bundles/cesiplastprod/js/jquery.mCustomScrollbar.js') }}"></script>
    {% endif %}
</div>
<footer class="homepage"><p><a href="#">À propos</a> <a href="#">Aide</a></p><p class="copyright">copyright &copy 2012</p></footer>
<script>
    $(document).ready(function() {
        $("#homepage-subscription-form form").show();
        $("#subscribeLink").remove();
    })
</script>
{% endblock %}

